package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.BizDeliveryBarcode;

public interface BizDeliveryBarcodeMapper {
    int batchInsertBizDeliveryBarcode(List<BizDeliveryBarcode> list);

    // 可选：按送货单ID查询（调试/校验用）
    List<BizDeliveryBarcode> selectByDeliveryNoteId(Long deliveryNoteId);

    // 新增：按送货单ID删除箱码关联
    int deleteByDeliveryNoteId(Long deliveryNoteId);

    // 新增：批量按送货单ID删除箱码关联
    int deleteByDeliveryNoteIds(Long[] deliveryNoteIds);
}